﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>

<%@ Page Language="C#" AutoEventWireup="true" DynamicMasterPageFile="~masterurl/default.master" Inherits="Slam.Administration.Activation, Slam, Version=2.1.0.0, Culture=neutral, PublicKeyToken=28f8d30936a98765" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral ID="PageTitle"
						Text="SLAM Control Panel - Activation"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral ID="TitleArea"
						Text="SLAM Control Panel - Activation"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
	<div>Perform Activation tasks against SLAM.</div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderMain" runat="server">
	<table class=propertysheet border="0" width="100%" cellspacing="0" cellpadding="0" id="formTable">
		<wssuc:InputFormSection runat="server" Title="Activate/Reactivate SLAM" Description="Attaches or reattaches SLAM's set of event receivers." >
			<Template_InputFormControls>
				<asp:Button ID="btnAttachEvents" runat="server" CssClass="ms-ButtonHeightWidth" Text="Activate" OnClick="btnAttachEvents_Click" />
			</Template_InputFormControls>
		</wssuc:InputFormSection> 
		
		<wssuc:InputFormSection runat="server" Title="Deactivate SLAM" Description="Detaches all event receivers associated with SLAM." >
			<Template_InputFormControls>
				<asp:Button ID="btnDetachEvents" runat="server" CssClass="ms-ButtonHeightWidth" Text="Deactivate" OnClick="btnDetachEvents_Click" />
			</Template_InputFormControls>
		</wssuc:InputFormSection>
		
		<wssuc:InputFormSection runat="server" Title="Synchronize SLAM" Description="Performs a full data synchronization between SLAM and its configured Lists and Content Types." >
			<Template_InputFormControls>
				<asp:Button ID="btnSynchronize" runat="server" CssClass="ms-ButtonHeightWidth" Text="Synchronize" OnClick="btnSynchronize_Click" />
			</Template_InputFormControls>
		</wssuc:InputFormSection>
		
		<wssuc:ButtonSection runat="server" ShowStandardCancelButton="false">
			<Template_Buttons>
				<asp:Button UseSubmitBehavior="false" runat="server" CssClass="ms-ButtonHeightWidth" Text="Back" id="btnBack" OnClick="btnBack_Click"/>
			</Template_Buttons>
		</wssuc:ButtonSection>
	</table>
	<SharePoint:FormDigest ID="spFormDigestControl" runat="server" />
</asp:Content>
